<?php if(count($playlists) > 0):?>
<?php foreach ( $playlists as $playlist ):?>
    <option value="<?php echo $playlist->id?>"><?php echo $playlist->name?></option>
 <?php endforeach;?>
<?php else:?>
	<option value="0" ><?php echo lang('opt_no_playlist')?></option>
<?php endif;?>
